package uk.co.hephistocles.blobGame;

import android.app.Activity;
import android.os.Bundle;

import com.papaya.offer.PPYOffers;

public class PapayaActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        PPYOffers.initWithConfig(this, new PPYOffers.Config() {
        	public String getApiKey() {
        	//Each API key MUST be only used in the app with the same package name as you setup on http://www.papayamobile.com/offer/
        	return "5EQbxviasKsGqT4g";
        	}
        	public String getPreferredLanguage() {
        		return PPYOffers.LANG_AUTO;
    		}
        		//Enable or disable the referral feature
    		public boolean enableReferral(){
        		return true;
    		}
    		public String getSRIdentifier() {
        		return "pvcbdznssso.721313234645";
    		} 
		});
        PPYOffers.show(PapayaActivity.this, null);
    }
}